package object;

/**
 * @TODO
 * @Author xu
 * 2025/3/10
 */
public class Time {
    public static void main(String[] args) {
        long startTime = System.currentTimeMillis();

        for (int i = 1; i <= 10000; i++) {
            // Optional: 可以选择不打印或选择性打印
            // System.out.println(i);
        }

        long endTime = System.currentTimeMillis();
        long executionTime = endTime - startTime;
        System.out.println("代码执行时间: " + executionTime + " 毫秒");
    }
}
